<template>
	<view>
		<view class="top">
			<u-input class="input" prefixIcon="search" placeholder="搜索" border="none"
				prefixIconStyle="margin-left:10rpx">
				<template slot="suffix">
					<view class="search-btn row-center">搜索</view>
				</template>
			</u-input>
			<scroll-view :scroll-x="true" style="margin-top: 20rpx;">
				<view class="row" style="margin-left: 20rpx;margin-right: 20rpx;" >
						<view :class="clickIndex==index?'acticve row-ceneter':'normal row-ceneter'" v-for="item,index in statusList" @click="clickIndex = index">
							{{item.name}}
						</view>
				</view>
			</scroll-view>
			
		</view>
	
		<view class="item" v-for="item in 4">
			<view class="row-between-center">
				<view class="row">
					<image class="icon" src="/static/images/lucky.png"></image>
					<view class="title">这是运营商名称</view>
				</view>
				<view class="wait">
					待审核
				</view>
				
			</view>
			
			
			<view class="desc" style="margin-top: 30rpx;">所属地区：山东省 青岛市 黄岛区</view>
			<view class="desc">所属商圈：薛家岛商圈</view>
			<view class="desc">推荐用户：张三</view>
			<view class="desc">申请时间：2023.07.01</view>
		</view>
		<view style="height: 150rpx;"></view>
			<view class="bottom"><view class="btn2 row-center">添加运营商</view></view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				clickIndex:0,
				statusList:[
					{'name':'全部'},
					{'name':'待审核 .3'},
					{'name':'进行中 .3 '},
					{'name':'已结束 .3'},
					{'name':'已驳回 .3'},
				]
			}
		},
		methods: {
			
		}
	}
</script>
<style>
	page{
		background: #F2F3F8;
	}
</style>
<style scoped lang="scss">
	.wait{
		color:  #FF8934;
		font-size: 28rpx;
		font-style: normal;
		font-weight: 500;
		line-height: 44rpx; /* 157.143% */
	}
	.success{
		color: #3B60D3;
		font-size: 28rpx;
		font-style: normal;
		font-weight: 500;
		line-height: 44rpx; /* 157.143% */
	}
	.fail{
		color: #EA401D;
		font-size: 28rpx;
		font-style: normal;
		font-weight: 500;
		line-height: 44rpx; /* 157.143% */
	}
	.top{
		padding: 20rpx;
		background: white;
	}
	.input{
		margin-top: 10rpx;
	}
	.acticve{
		white-space:nowrap;
		margin-right: 20rpx;
		padding: 6rpx 38rpx;
		border-radius: 8rpx;
		background: #347FFF;
		color: #FFF;
		font-size: 24rpx;
		font-style: normal;
		font-weight: 400;
		line-height: 40rpx; /* 166.667% */
	}
	.normal{
		white-space:nowrap;
		padding: 6rpx 38rpx;
		margin-right: 20rpx;
		border-radius: 8rpx;
		background: #F2F3F8;
		color: #676C7F;
		font-size: 24rpx;
		font-style: normal;
		font-weight: 400;
		line-height: 40rpx; /* 166.667% */
	}
	.search-bg{
		background: #F6F7FB;
	}
	.search-btn{
		width: 120rpx;
		height: 60rpx;
		flex-shrink: 0;
		border-radius: 8rpx;
		background: #347FFF;
		color: #FFF;
		font-size: 24rpx;
		font-style: normal;
		font-weight: 400;
		line-height: 40rpx; /* 166.667% */
	}
	.bottom{
		width: 100%;
		padding: 36rpx;
		background-color: white;
		bottom: 0;
		position: fixed;
		.btn2{
			width: 100%;
			height: 80rpx;
			border-radius: 40rpx;
			background: #347FFF;
			color: #FFF;
			font-size: 32rpx;
			font-style: normal;
			font-weight: 500;
			line-height: 48rpx; /* 150% */
		}
	}
	.item{
		margin: 20rpx;
		padding: 20rpx 32rpx;
		background: white;
		border-radius: 12rpx;
		.icon{
			width: 48rpx;
			height: 48rpx;
		}
		.title{
			margin-left: 20rpx;
			color:  #20252B;
			font-size: 32rpx;
			font-style: normal;
			font-weight: 500;
			line-height: 48rpx; /* 150% */
		}
		.desc{
			color:  #6A6876;
			font-size: 24rpx;
			font-style: normal;
			font-weight: 400;
			line-height: 40rpx; /* 166.667% */
		}
	}
	
</style>
